package comment.entity;

import article.entity.ArticleVO;
import blogData.entity.BlogDataVO;

import java.util.Date;

public class CommentVO {
    /**
     *  评论ID
     */
    private Integer commentId;
    /**
     * 评论者
     */
    private String reviewers;
    /**
     * 评论内容
     */
    private String commentContent;
    /**
     * 点赞数
     */
    private Integer top;
    /**
     * 评论时间
     */
    private Date commentTime;
    /**
     *  父类 -- 博客资料
     */
    private BlogDataVO blogDataVO;

    /**
     * 父类 -- 文章
     * @return
     */
    private ArticleVO articleVO;

    public BlogDataVO getBlogDataVO() {
        return blogDataVO;
    }

    public void setBlogDataVO(BlogDataVO blogDataVO) {
        this.blogDataVO = blogDataVO;
    }

    public ArticleVO getArticleVO() {
        return articleVO;
    }

    public void setArticleVO(ArticleVO articleVO) {
        this.articleVO = articleVO;
    }

    public Integer getCommentId() {
        return commentId;
    }

    public void setCommentId(Integer commentId) {
        this.commentId = commentId;
    }

    public Date getCommentTime() {
        return commentTime;
    }

    public void setCommentTime(Date commentTime) {
        this.commentTime = commentTime;
    }

    public Integer getTop() {
        return top;
    }

    public void setTop(Integer top) {
        this.top = top;
    }

    public String getCommentContent() {
        return commentContent;
    }

    public void setCommentContent(String commentContent) {
        this.commentContent = commentContent;
    }

    public String getReviewers() {
        return reviewers;
    }

    public void setReviewers(String reviewers) {
        this.reviewers = reviewers;
    }
}
